<?php

namespace app\Admin\model;

use think\Model;

class Good extends Model
{
    protected $table = "good";

    public function addGood($data)
    {
        $user = new Good;
        $user->data($data);
        $user->save();
       return $user->id;
    }
}
